package io.chenglicun.modules.clcLocationMark.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.chenglicun.common.utils.DateUtils;
import io.chenglicun.modules.clcHousePersonInfo.dto.ClcHousePersonInfoDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
* 地图标注
*
* @author HB 137664951@qq.com
* @since 1.0 2024-01-22
*/
@Data
@ApiModel(value = "地图标注")
public class ClcLocationMarkDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private Long id;
    @ApiModelProperty(value = "网格id")
    private Long girdId;
    @ApiModelProperty(value = "网格名")
    private String girdName;
    @ApiModelProperty(value = "自然村id")
    private Long gridOfVillageId;
    @ApiModelProperty(value = "自然村村名")
    private String gridOfVillageName;

    @ApiModelProperty(value = "地点类型(0 房屋)")
    private Integer locationType;
    @ApiModelProperty(value = "标注点id")
    private String locationMarkId;
    @ApiModelProperty(value = "门牌号")
    private String houseNum;
    @ApiModelProperty(value = "人数")
    private Integer userCount;
    @ApiModelProperty(value = "承租人数")
    private Integer rentalUserCount;

    @ApiModelProperty(value = "状态: 0未标注|1已标注")
    private Integer status;
    @ApiModelProperty(value = "创建者")
    private Long creator;
    @ApiModelProperty(value = "创建时间")
    private Date createDate;
    @ApiModelProperty(value = "更新时间")
    private Date updateDate;
    @ApiModelProperty(value = "更新者")
    private Long updater;
    @ApiModelProperty(value = "逻辑删除 0：未删除 1：已删除")
    private Integer isDeleted;
    @ApiModelProperty(value = "备注")
    private String remark;


    @ApiModelProperty(value = "人员列表")
    private List<ClcHousePersonInfoDTO> personInfoList;
}